<?php
// +----------------------------------------------------------------------
// | ThinkPHP
// +----------------------------------------------------------------------
// | Copyright (c) 2008 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// $Id$

function loadModuleConfig() {
	// 加载模块配置文件
	$configFile	 =	 CONFIG_PATH.'_'.strtolower(MODULE_NAME).'.php';
	if(file_exists($configFile)) {
		C(array_change_key_case(include $configFile));
}
Tag::add('app_init','loadModuleConfig');
?>